package com.bby.disk.service;

import com.bby.common.model.UserPublicInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(value = "service-user")
public interface UserService {

    @PostMapping("admin/getPubInfos")
    List<UserPublicInfo> getUserPubInfos(@RequestBody List<String> ids);
}
